package com.island.gomallorder;

import com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin
@EnableRedisHttpSession
@SpringBootApplication(scanBasePackages = "com.island.gomallorder.**")
@MapperScan(basePackages = "com.island.gomallorder.dao")
@EnableDiscoveryClient
@DubboComponentScan
public class GomallOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(GomallOrderApplication.class, args);
    }

}
